package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * DAG性能评测对象 dag_performance
 * 
 * @author NovaTian
 * @date 2022-05-12
 */
public class DagPerformance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识符 */
    private String uuid;

    /** DAG区块链类型 */
    @Excel(name = "DAG区块链类型")
    private Long dagType;

    /** 网络节点数 */
    @Excel(name = "网络节点数")
    private Long nodeNum;

    /** 客户端数量 */
    @Excel(name = "客户端数量")
    private Long clientNum;

    /** 发送速率 */
    @Excel(name = "发送速率")
    private Double rate;

    /** 持续时间 */
    @Excel(name = "持续时间")
    private Double duration;

    /** 交易最低延迟 */
    @Excel(name = "交易最低延迟")
    private Double txLagMin;

    /** 交易最高延迟 */
    @Excel(name = "交易最高延迟")
    private Double txLagMax;

    /** 交易平均延迟 */
    @Excel(name = "交易平均延迟")
    private Double txLagAvg;

    /** 吞吐量 */
    @Excel(name = "吞吐量")
    private Double tps;

    /** 确认率 */
    @Excel(name = "确认率")
    private Double ctps;

    /** CPU最高峰值 */
    @Excel(name = "CPU最高峰值")
    private Double cpuMax;

    /** 内存最高峰值 */
    @Excel(name = "内存最高峰值")
    private Double memoryMax;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String resvField1;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String resvField3;

    public void setUuid(String uuid) 
    {
        this.uuid = uuid;
    }

    public String getUuid() 
    {
        return uuid;
    }
    public void setDagType(Long dagType) 
    {
        this.dagType = dagType;
    }

    public Long getDagType() 
    {
        return dagType;
    }
    public void setNodeNum(Long nodeNum) 
    {
        this.nodeNum = nodeNum;
    }

    public Long getNodeNum() 
    {
        return nodeNum;
    }
    public void setClientNum(Long clientNum) 
    {
        this.clientNum = clientNum;
    }

    public Long getClientNum() 
    {
        return clientNum;
    }
    public void setRate(Double rate)
    {
        this.rate = rate;
    }

    public Double getRate()
    {
        return rate;
    }
    public void setDuration(Double duration)
    {
        this.duration = duration;
    }

    public Double getDuration()
    {
        return duration;
    }
    public void setTxLagMin(Double txLagMin)
    {
        this.txLagMin = txLagMin;
    }

    public Double getTxLagMin()
    {
        return txLagMin;
    }
    public void setTxLagMax(Double txLagMax)
    {
        this.txLagMax = txLagMax;
    }

    public Double getTxLagMax()
    {
        return txLagMax;
    }
    public void setTxLagAvg(Double txLagAvg)
    {
        this.txLagAvg = txLagAvg;
    }

    public Double getTxLagAvg()
    {
        return txLagAvg;
    }
    public void setTps(Double tps)
    {
        this.tps = tps;
    }

    public Double getTps()
    {
        return tps;
    }
    public void setCtps(Double ctps)
    {
        this.ctps = ctps;
    }

    public Double getCtps()
    {
        return ctps;
    }
    public void setCpuMax(Double cpuMax)
    {
        this.cpuMax = cpuMax;
    }

    public Double getCpuMax()
    {
        return cpuMax;
    }
    public void setMemoryMax(Double memoryMax)
    {
        this.memoryMax = memoryMax;
    }

    public Double getMemoryMax()
    {
        return memoryMax;
    }
    public void setResvField1(String resvField1) 
    {
        this.resvField1 = resvField1;
    }

    public String getResvField1() 
    {
        return resvField1;
    }
    public void setResvField3(String resvField3) 
    {
        this.resvField3 = resvField3;
    }

    public String getResvField3() 
    {
        return resvField3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("dagType", getDagType())
            .append("nodeNum", getNodeNum())
            .append("clientNum", getClientNum())
            .append("rate", getRate())
            .append("duration", getDuration())
            .append("txLagMin", getTxLagMin())
            .append("txLagMax", getTxLagMax())
            .append("txLagAvg", getTxLagAvg())
            .append("tps", getTps())
            .append("ctps", getCtps())
            .append("cpuMax", getCpuMax())
            .append("memoryMax", getMemoryMax())
            .append("resvField1", getResvField1())
            .append("resvField3", getResvField3())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
